package com.nervenets.web.hibernate.dao;

import com.nervenets.web.hibernate.domain.AccountOpen;
import com.nervenets.web.hibernate.domain.AccountOpenBinding;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

@Repository
public interface AccountOpenBindingDao extends JpaRepository<AccountOpenBinding, Long>, JpaSpecificationExecutor<AccountOpenBinding> {
    AccountOpenBinding findByOpenAndBindCard(AccountOpen open, String bindCard);
}
